----------------------------------Spell Variables--------------------------------------
SPELL.m_iSpellID = 51463 -- Whatever value you want as long as it doesn't override any other spells' IDs.
SPELL.m_iRange = 0
SPELL.m_sName = "Bear Charge"
SPELL.m_sToolTip = [[Increases speed by 75% for
					4 seconds.]]
SPELL.m_sIcon = "devin/blackbetty/spells/bear/bearcharge.png"
SPELL.m_iCoolDown = 12
SPELL.m_iManaCost = 0
SPELL.m_bRequiresTarget = false
SPELL.m_iSpellType = SPELLTYPE_MOBILITY
SPELL.m_bRecastWhileCasting = false

---------------------------------------------------------------------------------------

local range = 100
local weapondamage = 20

function SPELL:Cast( pl, target )
	print("Casted "..self.m_sName.."!")
	pl:EmitSound("devin/blackbetty/weapons/bear/roar3.wav", 100, 70)
	pl:EmitSound("devin/blackbetty/weapons/BullRush.wav", 100, 100)
	local b = AddEffect(pl, 1, "SpeedTest", 1.75, 0, "GetWalkSpeed", "SetWalkSpeed", 4, 1)
	b:AddStack()
	timer.Simple(0.05, function()
	pl:SetNWBool("Casting", false) 
	pl:SetNWBool("Casted", false)
	end)
end



